package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author Alexpy
 * @CreateTime 2018/4/24
 * @Description
 * @Version 1.0
 */
public class InviteVo implements Serializable {
    private Long userId;
    private String nickname;
    private Integer sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String phone;
    private String role;
    private Integer state;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private BigDecimal cashBalance;//余额/零钱
    private BigDecimal awardCashBalance;//奖励金
    private Integer taskAwardBalance;//任务奖励金/学习金
    private Integer advertCoin;//广告币

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getCashBalance() {
        return cashBalance;
    }

    public void setCashBalance(BigDecimal cashBalance) {
        this.cashBalance = cashBalance;
    }

    public BigDecimal getAwardCashBalance() {
        return awardCashBalance;
    }

    public void setAwardCashBalance(BigDecimal awardCashBalance) {
        this.awardCashBalance = awardCashBalance;
    }

    public Integer getTaskAwardBalance() {
        return taskAwardBalance;
    }

    public void setTaskAwardBalance(Integer taskAwardBalance) {
        this.taskAwardBalance = taskAwardBalance;
    }

    public Integer getAdvertCoin() {
        return advertCoin;
    }

    public void setAdvertCoin(Integer advertCoin) {
        this.advertCoin = advertCoin;
    }
}
